GtkToolButton: Use G_PARAM_EXPLICIT_NOTIFY
authorMatthias Clasen <mclasen@redhat.com>
Mon, 9 Jun 2014 13:44:09 +0000 (09:44 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 Jun 2014 17:31:11 +0000 (13:31 -0400)
gtk/gtktoolbutton.c

index 5c2b73f645ec78badfa13f054acbf3ede3c4cebc..5b47a59db1b4d43b0c78954256f7ae0909b8d00d 100644 (file)
@@ -246,7 +246,7 @@ gtk_tool_button_class_init (GtkToolButtonClass *klass)
                                                         P_("Use underline"),
                                                         P_("If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu"),
                                                         FALSE,
-                                                        GTK_PARAM_READWRITE));
+                                                        GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
   g_object_class_install_property (object_class,
                                   PROP_LABEL_WIDGET,
                                   g_param_spec_object ("label-widget",
@@ -308,7 +308,7 @@ gtk_tool_button_class_init (GtkToolButtonClass *klass)
                                                             0,
                                                             G_MAXINT,
                                                             3,
-                                                            GTK_PARAM_READWRITE));
+                                                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
 /**
  * GtkToolButton::clicked: